package com.isoftstone.project.system.domain;


import com.isoftstone.framework.domain.BaseEntity;

/**
 *
 * 部门信息
 * @author guoX
 * @date 2016/5/12
 */
public class SysDepartment extends BaseEntity {

    private String deptId;    //部门ID

    private String deptName;  //部门名称

    private String parentId;    //上级部门ID

    private String superId;    //上上级部门ID

    private String branch;      //

    private String remarks;     //备注

    //不建字段
    private String parentName;      //上级部门名称

//    private String caozuo;      //上级部门名称
//
//
//    public String getCaozuo() {
//        return "<a class=\"iconfont icon-bianji1 appcolor\" onclick=\"replaces('"+deptId+"');\" title=\"修改\"></a>\n" +
//                "<a class=\"layui-icon colored7764\" onclick=\"delets('" + deptId + "');\" title=\"删除\">&#xe640;</a>\n"+
//                "<a class=\"layui-icon color50ccad\" onclick=\"addto('" + deptId + "');\" title=\"添加子部门\">&#xe61f;</a>\n";
//
//    }
//
//    public void setCaozuo(String caozuo) {
//        this.caozuo = caozuo;
//    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getSuperId() {
        return superId;
    }

    public void setSuperId(String superId) {
        this.superId = superId;
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }
}
